package com.hxzy.projectssmplus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxzy.projectssmplus.dto.SysDicDataDTO;
import com.hxzy.projectssmplus.entity.SysDictData;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SysDictDataMapper extends BaseMapper<SysDictData> {
   // int deleteByPrimaryKey(Long dictCode);

    int insert(SysDictData record);

    int insertSelective(SysDictData record);

    SysDictData selectByPrimaryKey(Long dictCode);

    int updateByPrimaryKeySelective(SysDictData record);

    int updateByPrimaryKey(SysDictData record);
    List<SysDictData> searchByXML(SysDicDataDTO sysDicDataDTO);

    Integer updateDictData(SysDictData sysDictData);
}
